package com.gang.music.common;

import java.util.Calendar;
import java.util.Date;

/**
 * 首页显示的数据
 *
 */
public class IndexPageData {
	
	/**
	 * 今天播放量
	 */
	private Long todayAmout = 0l;
	
	/**
	 * 歌曲总数
	 */
	private Long totalSongNum;
	
	/**
	 * 用户总数
	 */
	private Long totalUserNum;
	
	/**
	 * 今天新增的用户数
	 */
	private Long todayRegisterUser = 0l;
	
	public Long getTodayAmout() {
		return todayAmout;
	}

	public void setTodayAmout(Long todayAmout) {
		this.todayAmout = todayAmout;
	}

	public Long getTotalSongNum() {
		return totalSongNum;
	}

	public void setTotalSongNum(Long totalSongNum) {
		this.totalSongNum = totalSongNum;
	}

	public Long getTotalUserNum() {
		return totalUserNum;
	}

	public void setTotalUserNum(Long totalUserNum) {
		this.totalUserNum = totalUserNum;
	}

	public Long getTodayRegisterUser() {
		return todayRegisterUser;
	}

	public void setTodayRegisterUser(Long todayRegisterUser) {
		this.todayRegisterUser = todayRegisterUser;
	}
	
	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		Date currDate = calendar.getTime();
		calendar.roll(Calendar.DAY_OF_YEAR, -7);
		Date daysBreforeDate = calendar.getTime();
		System.out.println(currDate);
		System.out.println(daysBreforeDate);
	}
}
